package io.renren.modules.app.service.index.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.Query;
import io.renren.modules.app.dao.index.YcBidRecordDao;
import io.renren.modules.app.entity.index.YcBidRecordEntity;
import io.renren.modules.app.service.index.YcBidRecordService;
import org.springframework.stereotype.Service;
import java.util.Map;
import io.renren.common.utils.PageUtils;



@Service("ycBidRecordService")
public class YcBidRecordServiceImpl extends ServiceImpl<YcBidRecordDao, YcBidRecordEntity> implements YcBidRecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<YcBidRecordEntity> page = this.page(
                new Query<YcBidRecordEntity>().getPage(params),
                new QueryWrapper<>()
        );

        return new PageUtils(page);
    }

}